"); outputFrame.close(); window.status="1998 BBCMAN - http://campus.fortunecity.com/overdraft/405/"; } function drawBranch(startNode,structureString) { var children = extractChildrenOf(startNode); var currentIndex = 1; while (currentIndex <= children.length) { outputFrame.write(structureString); if (children[currentIndex].type == 'link') { if (children[currentIndex].icon == "") { var imageString = defaultImageURL + defaultLinkIcon; } else {var imageString = defaultImageURL + children[currentIndex].icon} if (children[currentIndex].target == "") { var targetFrame = defaultTargetFrame; } else {var targetFrame = children[currentIndex].target} if (currentIndex != children.length) { outputFrame.write("") } else { outputFrame.write("") } outputFrame.write("" + children[currentIndex].url + " " + children[currentIndex].name + "
\n") } else { var newStructure = structureString; if (children[currentIndex].iconClosed == "") {var iconClosed = "img-folder-closed-" + structureStyle + ".gif"} else {var iconClosed = children[currentIndex].iconClosed} if (children[currentIndex].iconOpen == "") {var iconOpen = "img-folder-open-" + structureStyle + ".gif"} else {var iconOpen = children[currentIndex].iconOpen} if (currentIndex != children.length) { if (children[currentIndex].open == 0) { outputFrame.write("Click to open this folder") outputFrame.write("Click to open this folder " + children[currentIndex].name + "
\n") } else { outputFrame.write("Click to close this folder"); outputFrame.write("Click to close this folder " + children[currentIndex].name + "
\n"); newStructure = newStructure + ""; drawBranch(children[currentIndex].id,newStructure); } } else { if (children[currentIndex].open == 0) { outputFrame.write("Click to open this folder") outputFrame.write("Click to open this folder " + children[currentIndex].name + "
\n") } else { outputFrame.write("Click to close this folder"); outputFrame.write("Click to close this folder " + children[currentIndex].name + "
\n"); newStructure = newStructure + ""; drawBranch(children[currentIndex].id,newStructure); } } } currentIndex++; } } function toggleFolder(id,status) { var nodeIndex = indexOfNode(id); treeData[nodeIndex].open = status; timeOutId = setTimeout("drawTree()",100)} function indexOfNode(id) { var currentIndex = 1; while (currentIndex <= treeData.length) { if ((treeData[currentIndex].type == 'root') || (treeData[currentIndex].type == 'folder')) { if (treeData[currentIndex].id == id) {return currentIndex}} currentIndex++} return -1} function extractChildrenOf(node) { var children = new Collection(); var currentIndex = 1; while (currentIndex <= treeData.length) { if ((treeData[currentIndex].type == 'folder') || (treeData[currentIndex].type == 'link')) { if (treeData[currentIndex].parent == node) { children.add(treeData[currentIndex])}} currentIndex++} return children} function Collection() { this.length = 0; this.add = add; return this} function add(object) { this.length++; this[this.length] = object} function RootNode(id,name,url,target,icon) { this.id = id; this.name = name; this.url = url; this.target = target; this.icon = icon; this.type = 'root'; return this} function FolderNode(id,parent,name,iconClosed,iconOpen) { this.id = id; this.parent = parent; this.name = name; this.iconClosed = iconClosed; this.iconOpen = iconOpen; this.type = 'folder'; this.open = 0; return this} function LinkNode(parent,name,url,target,icon) { this.parent = parent; this.name = name; this.url = url; this.target = target; this.icon = icon; this.type = 'link'; return this} function loadData() { treeData = new Collection(); treeData.add(new RootNode('root','Main','index-3.html','_top','')); // Root Node MUST be first! treeData.add(new LinkNode('root','Introduction','first.html','','')); treeData.add(new FolderNode('One','root','Chapter One','','')); treeData.add(new LinkNode('One','Marriage Is Sacred','chapter_1.htm#Marriage Is Sacred','','img-page.gif')); treeData.add(new LinkNode('One','Danger In Personal Sex Attraction','chapter_1.htm#Danger In Sex Attraction','','img-page.gif')); treeData.add(new LinkNode('One','Purity Is Beautiful','chapter_1.htm#Purity Is Beautiful','','img-page.gif')); treeData.add(new LinkNode('One','Impurity Is Forbidden','chapter_1.htm#Impurity Is Forbidden','','img-page.gif')); treeData.add(new FolderNode('Two','root','Chapter Two','','')); treeData.add(new LinkNode('Two','Soul - Death','Chapter_2.htm#Soul Death','','img-page.gif')); treeData.add(new LinkNode('Two','The Sixth Commandment','Chapter_2.htm#Sixth Commandment','','img-page.gif')); treeData.add(new LinkNode('Two','The Ninth Commandment','Chapter_2.htm#Ninth Commandment','','img-page.gif')); treeData.add(new LinkNode('Two','Temptation Is Not A Sin','Chapter_2.htm#Temptation Is Not A Sin','','img-page.gif')); treeData.add(new FolderNode('Three','root','Chapter Three','','')); treeData.add(new LinkNode('Three','Passionate Kissing','Chapter_3.htm#Passionate Kissing','','img-page.gif')); treeData.add(new LinkNode('Three','"Petting" or "Necking"','Chapter_3.htm#Petting or Necking','','img-page.gif')); treeData.add(new LinkNode('Three','Improper Liberties','Chapter_3.htm#Improper Liberties','','img-page.gif')); treeData.add(new LinkNode('Three','The Parked Car','Chapter_3.htm#The Parked Car','','img-page.gif')); treeData.add(new LinkNode('Three','Drinking','Chapter_3.htm#Drinking','','img-page.gif')); treeData.add(new LinkNode('Three','Indecent Entertainment','Chapter_3.htm#Indecent Entertainment','','img-page.gif')); treeData.add(new LinkNode('Three','Immodest Conversation','Chapter_3.htm#Immodest Conversation','','img-page.gif')); treeData.add(new LinkNode('Three','Dangerous Reading','Chapter_3.htm#Dangerous Reading','','img-page.gif')); treeData.add(new FolderNode('Four','root','Chapter Four','','')); treeData.add(new LinkNode('Four','The General Principals','Chapter_4.htm#The General Principals','','img-page.gif')); treeData.add(new LinkNode('Four','"Donts" on Dates','Chapter_4.htm#Donts on Dates','','img-page.gif')); treeData.add(new LinkNode('Four','Teen-age Dating','Chapter_4.htm#Teen-age Dating','','img-page.gif')); treeData.add(new FolderNode('Five','root','Chapter Five','','')); treeData.add(new LinkNode('Five','Regular Confession','Chapter_5.htm#Regular Confession','','img-page.gif')); treeData.add(new LinkNode('Five','Frequent Holy Communion','Chapter_5.htm#Frequent Holy Communion','','img-page.gif')); treeData.add(new LinkNode('Five','Prayer','Chapter_5.htm#Prayer','','img-page.gif')); treeData.add(new LinkNode('Five','Self-Denial','Chapter_5.htm#Self-Denial','','img-page.gif')); treeData.add(new LinkNode('Five','Avoiding Occasions of Sin','Chapter_5.htm#Avoiding Occasions of Sin','','img-page.gif')); treeData.add(new LinkNode('Five','Love of Jesus and Mary','Chapter_5.htm#Love of Jesus and Mary','','img-page.gif')); treeData.add(new FolderNode('Six','root','Chapter Six','','')); treeData.add(new LinkNode('Six','Care and Common Sense','Chapter_6.htm#Care and Common Sense','','img-page.gif')); treeData.add(new LinkNode('Six','How to Choose a Marriage Partner','Chapter_6.htm#How to Choose a Marriage Partner','','img-page.gif')); treeData.add(new LinkNode('Six','Mixed Marriages','Chapter_6.htm#Mixed Marriages','','img-page.gif')); treeData.add(new LinkNode('Six','A Trinity of Love','Chapter_6.htm#A Trinity of Love','','img-page.gif')); treeData.add(new FolderNode('Prayers','root','Various Prayers','','')); treeData.add(new LinkNode('Prayers','A Prayer for My Vocation','Prayers.htm#A Prayer for My Vocation','','img-page.gif')); treeData.add(new LinkNode('Prayers','A Prayer to the Holy Spirit','Prayers.htm#A Prayer to the Holy Spirit','','img-page.gif')); treeData.add(new LinkNode('Prayers','A Prayer for a Good Husband or Wife','Prayers.htm#A Prayer for a Good Husband or Wife','','img-page.gif')); treeData.add(new LinkNode('Prayers','Prayers for Purity','Prayers.htm#Prayers for Purity','','img-page.gif')); treeData.add(new FolderNode('email','root','E-mail','','')); treeData.add(new LinkNode('email','Lorence','mailto:[email protected]?subject=Clean Love in Courtship','','img-email.gif')); structureStyle = 0; // 0 for light background, 1 for dark background backgroundColor = '#FFAA86'; // sets the bgColor of the menu textColor = '#000000'; // sets the color of the text used in the menu linkColor = '#0000AA'; // sets the color of any text links (usually defined in additional HTML sources) aLinkColor = '#FF0000'; // sets the active link color (when you click on the link) vLinkColor = '#880088'; // sets the visited link color backgroundImage = 'mbackgnd.gif'; // give the complete path to a gif or jpeg to use as a background image defaultTargetFrame = 'pageFrame'; // the name of the frame that links will load into by default defaultImageURL = ''; // the URL or path where the OmenTree images are located defaultLinkIcon = 'img-page-globe.gif'; // the default icon image used for links omenTreeFont = 'MS Sans Serif,Arial,Helvetica'; // the font used for the menu omenTreeFontSize = 1; // its size - don't make it too big! prefixHTML = ""; suffixHTML = "
Clean Love in Courtship To go back to the main page Click Here"; } // End Hiding --> <body><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-47423994-1', 'fortunecity.ws'); ga('send', 'pageview'); </script> <center> <br> <div> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </div> </center> </body>